#!/bin/sh

for i in curses-ss gtk-2 gnome qt; do
	[ -f /usr/bin/pinentry-$i ] && exit 0
done

ln -sf pinentry-curses /usr/bin/pinentry

exit 0
